package com.tlgen.tomcat.filter;

import com.tlgen.tomcat.annotation.Filter;
import com.tlgen.tomcat.model.Request;
import com.tlgen.tomcat.model.Response;

@Filter
public class MyFilter implements HttpInterceptor {

    @Override
    public void setRequest(Request request) {
        System.out.println("do request filter...");
    }

    @Override
    public void setResponse(Request request, Response response) {
        System.out.println("do response filter...");
    }

}
